#include<bits/stdc++.h>
using namespace std;
int main(){
    int c;cin>>c;
    int n=1;
    while(c!=1){
        c = floor(float(c)/2);
        n++;
    }
    cout<<n;
    return 0;
}